package networld 
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author 
	 */
	public class NetWorldEvent extends Event 
	{
		public static const CHAT_MESSAGE: String = "chatMessage";
		public static const WORLD_HAD_BEEN_FORMED: String = "worldHadBeenFormed";
		
		public var messageSender: NetPlayer;
		public var messageText: String;
		public function NetWorldEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) 
		{ 
			super(type, bubbles, cancelable);
		} 
		
		public override function clone():Event 
		{ 
			return new NetWorldEvent(type, bubbles, cancelable);
		} 
		
		public override function toString():String 
		{ 
			return formatToString("NetWorldEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}